package cn.gson.work.model.mapper;

import cn.gson.work.model.pojos.Category;
import cn.gson.work.model.pojos.Project;
import cn.gson.work.model.pojos.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PejectsMapper {
    //根据负责人进行模糊查询出项目
    public List<Project> All(@Param("USER_NAME") String USER_NAME);
    //项目的类型
    public List<Category> cate();
    //负责人
    public List<User> man();
    //新增项目
    public void addP(Project project);
    //修改
    public void xg(Project project);
}
